Optimal. Leaf size=28 \[ \frac{1}{2} x^2 (a d+b c)+a c x+\frac{1}{3} b d x^3 \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0369833, antiderivative size = 28, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ \frac{1}{2} x^2 (a d+b c)+a c x+\frac{1}{3} b d x^3 \]
Antiderivative was successfully verified.
[In] Int[(a + b*x)*(c + d*x),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{b d x^{3}}{3} + c \int a\, dx + \left (a d + b c\right ) \int x\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x+a)*(d*x+c),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.00576673, size = 28, normalized size = 1. \[ \frac{1}{2} x^2 (a d+b c)+a c x+\frac{1}{3} b d x^3 \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x)*(c + d*x),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0., size = 25, normalized size = 0.9 \[ acx+{\frac{ \left ( ad+bc \right ){x}^{2}}{2}}+{\frac{bd{x}^{3}}{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x+a)*(d*x+c),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.35602, size = 32, normalized size = 1.14 \[ \frac{1}{3} \, b d x^{3} + a c x + \frac{1}{2} \,{\left (b c + a d\right )} x^{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)*(d*x + c),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.175859, size = 1, normalized size = 0.04 \[ \frac{1}{3} x^{3} d b + \frac{1}{2} x^{2} c b + \frac{1}{2} x^{2} d a + x c a \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)*(d*x + c),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.065288, size = 26, normalized size = 0.93 \[ a c x + \frac{b d x^{3}}{3} + x^{2} \left (\frac{a d}{2} + \frac{b c}{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x+a)*(d*x+c),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.21851, size = 35, normalized size = 1.25 \[ \frac{1}{3} \, b d x^{3} + \frac{1}{2} \, b c x^{2} + \frac{1}{2} \, a d x^{2} + a c x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)*(d*x + c),x, algorithm="giac")
[Out]